package bam.service.impl;

import java.io.Serializable;
import java.util.Date;

import bam.dao.StatisticsDao;
import bam.entityBam.Zzstatic;
import bam.service.StatisticsService;
import bam.util.PagingUtil;


public class StatisticsServiceImpl implements StatisticsService{
	private StatisticsDao statisticsDao;
	

	public void setStatisticsDao(StatisticsDao statisticsDao) {
		this.statisticsDao = statisticsDao;
	}

	public Serializable insertZzstatic(Zzstatic zzstatic) throws Exception {
		return statisticsDao.insertZzstatic(zzstatic);
	}


	public void selectZzstatisList(PagingUtil<Zzstatic> pu, Zzstatic zzstatic,
			String oldDate, String newDate) throws Exception {
		statisticsDao.selectZzstatisList(pu, zzstatic, oldDate, newDate);
	}


	public Zzstatic selectzzstatic(int areaid, String newDate, String oldDate)
			throws Exception {
		return statisticsDao.selectzzstatic(areaid, newDate, oldDate);
	}

	
	public void updatezzstatic(Zzstatic zzstatic) throws Exception {
		this.statisticsDao.updatezzstatic(zzstatic);
	}
	
	public Zzstatic selectzzstaticOne(int areaid, String newDate, String oldDate)
			throws Exception {
		return this.statisticsDao.selectzzstaticOne(areaid, newDate, oldDate);
	}


	
}
